package pro.notum.interfaces;

import java.util.Date;
import java.util.List;

import ru.vms.healthcontrol.RequestResult;
import ru.vms.healthcontrol.UserData;
import ru.vms.healthcontrol.ValueUnderControl;

public interface IModel {

	void userPreferencesChanged();

	UserData getUserData();

	boolean isExistValuesForDate(Date d);

	void insert(ValueUnderControl value);

	void selectAllLog ();

	void update(ValueUnderControl value);

	boolean signInNotumPro();

	public abstract RequestResult getLastRequestResult();

	public abstract void signOutNotumPro();

	public abstract List<ValueUnderControl> selectByName(String name);
}
